<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// 首页
Route::get('/', 'Index/index')->append(['catid' => 0]);

// 品牌特展
Route::get('brand', 'Brand/index')->append(['catid' => 0]);

// 产业集群
Route::get('industry', 'Industry/index')->append(['catid' => 0]);

// 展会介绍
Route::get('exhibition', 'Exhibition/index')->append(['catid' => 1]);

// 优秀企业展 excellent
Route::get('excellent', 'Excellent/index')->append(['catid' => 2]);

// 新闻资讯
Route::get('news', 'News/index')->append(['catid' => 3]);

// 异步获取ajaxList
Route::get('ajaxList', 'News/ajaxList')->append(['catid' => 3]);

// 新闻资讯详情
Route::get('ndetail/:id', 'News/detail')->append(['catid' => 3]);

// 联系我们
Route::get('contact', 'Contact/index')->append(['catid' => 4]);

// 企业列表
Route::get('company/:cid', 'Company/index')->append(['catid' => 5]);

// 企业详情
Route::get('cdetail/:id', 'Company/detail')->append(['catid' => 2]);

// 搜索
Route::get('search', 'Search/index')->append(['catid' => 6]);